package com.ruoyi.yipaiju.service;

import java.util.List;
import java.util.Map;

import com.ruoyi.yipaiju.domain.DiligenceReportOrder;
import com.ruoyi.yipaiju.domain.vo.ReportResultVO;

/**
 * 尽调报告订单Service接口
 * 
 * @author liuwp
 * @date 2025-08-06
 */
public interface IDiligenceReportOrderService 
{
    /**
     * 查询尽调报告订单
     * 
     * @param id 尽调报告订单主键
     * @return 尽调报告订单
     */
    public DiligenceReportOrder selectDiligenceReportOrderById(Long id);

    /**
     * 查询尽调报告订单列表
     * 
     * @param diligenceReportOrder 尽调报告订单
     * @return 尽调报告订单集合
     */
    public List<DiligenceReportOrder> selectDiligenceReportOrderList(DiligenceReportOrder diligenceReportOrder);

    /**
     * 根据业务主键查询一条记录：尽调报告订单
     *
     * @param diligenceReportOrder 尽调报告订单
     * @return 尽调报告订单
     */
    public DiligenceReportOrder selectOneDiligenceReportOrder(DiligenceReportOrder diligenceReportOrder);

    /**
     * 新增尽调报告订单
     * 
     * @param diligenceReportOrder 尽调报告订单
     * @return 结果
     */
    public int insertDiligenceReportOrder(DiligenceReportOrder diligenceReportOrder);

    /**
     * 修改尽调报告订单
     * 
     * @param diligenceReportOrder 尽调报告订单
     * @return 结果
     */
    public int updateDiligenceReportOrder(DiligenceReportOrder diligenceReportOrder);

    /**
     * 修改尽调报告订单
     *
     * @param diligenceReportOrder 尽调报告订单
     * @param diligenceReportOrder 尽调报告订单条件
     * @return 结果
     */
    public int updateDiligenceReportOrderCondition(DiligenceReportOrder diligenceReportOrder, DiligenceReportOrder diligenceReportOrderCondition);

    /**
     * 批量删除尽调报告订单
     * 
     * @param ids 需要删除的尽调报告订单主键集合
     * @return 结果
     */
    public int deleteDiligenceReportOrderByIds(Long[] ids);

    /**
     * 删除尽调报告订单信息
     * 
     * @param id 尽调报告订单主键
     * @return 结果
     */
    public int deleteDiligenceReportOrderById(Long id);

    /**
     * 条件删除尽调报告订单
     *
     * @param diligenceReportOrder 尽调报告订单
     * @return 结果
     */
    public int deleteDiligenceReportOrderByCondition(DiligenceReportOrder diligenceReportOrder);

    /**
     * 生成报告
     *
     * @param diligenceReportOrder  diligenceReportOrder
     * @return 结果
     */
    public boolean createPdf(DiligenceReportOrder diligenceReportOrder);

    /**
     * 发送模板消息
     *
     * @param diligenceReportOrder  diligenceReportOrder
     * @return 结果
     */
    public boolean sendTeplateMessage(DiligenceReportOrder diligenceReportOrder, String tip);
}
